home *** CD-ROM | disk | FTP | other *** search
- /*
- ** hidecurs.c
- **
- ** Pictor, Version 1.51, Copyright (c) 1992-94 SoftCircuits
- ** Redistributed by permission.
- */
-
- #include "pictor.h"
-
- /*
- ** Hides or restores the text cursor as specified by show.
- */
- void showcurs(int show)
- {
- int curstype;
-
- curstype = getcurstype();
-
- if(show)
- setcurstype(curstype & ~0x2000);
- else
- setcurstype(curstype | 0x2000);
-
- } /* showcurs */
-